package com.shenglue.ssi.dao;

import java.util.List;

import com.shenglue.ssi.domain.BuyInMain;

public interface BuyInMainDao {

	/**
	 * 查询所有入库单主表信息
	 */
	public List<BuyInMain> selectAllBuyInMain();

	/**
	 * 按条件查询 入库单主表信息
	 */
	public List<BuyInMain> selectBuyInMainByCond( BuyInMain buyInMain );

	/**
	 * 增加入库单主表记录
	 */
	public boolean saveBuyInMain(BuyInMain buyInMain);

	/**
	 * 删除入库单主表记录
	 */
	public boolean deleteBuyInMain(int buyInId);

	/**
	 * 修改入库单主表记录
	 */
	public boolean updateBuyInMain(BuyInMain buyInMain);

	/**
	 * 为修改，根据 Id 查一条 入库单主表记录
	 */
	public BuyInMain getOneBuyInMainForUpdate( int buyInId );
}
